package org.smart.access.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.smart.access.dto.UserInfo;
import org.smart.access.model.House;
import org.smart.access.model.User;

public interface HouseService extends IService<House> {

    /**
     * 根据楼栋和房间号获取房间实例
     *
     * @param building
     * @param room
     * @return
     */
    UserInfo getOwner(String building, String room);
}
